import request from '@/utils/request'

export function getList(query) {
  return request({
    url: '/vue-admin-template/student/list',
    method: 'get',
    params: query
  })
}

export function updateStu(data) {
  return request({
    url: '/vue-admin-template/student/update',
    method: 'get',
    data
  })
}

export function createStu(data) {
  return request({
    url: '/vue-admin-template/student/createStu',
    method: 'get',
    data
  })
}
